package com.pzdHome.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pzdHome.dao.UserPayMapper;
import com.pzdHome.dao.model.UserPay;
import com.pzdHome.dao.model.UserPayExample;

@Service
public class UserPayService {
	@Autowired
	private UserPayMapper userPayMapper;

	public int countByExample(UserPayExample example) {
		return this.userPayMapper.countByExample(example);
	}

	public UserPay selectByPrimaryKey(Integer id) {
		return this.userPayMapper.selectByPrimaryKey(id);
	}

	public List<UserPay> selectByExample(UserPayExample example) {
		return this.userPayMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(Integer id) {
		return this.userPayMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(UserPay record) {
		return this.userPayMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(UserPay record) {
		return this.userPayMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(UserPayExample example) {
		return this.userPayMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(UserPay record, UserPayExample example) {
		return this.userPayMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(UserPay record, UserPayExample example) {
		return this.userPayMapper.updateByExample(record, example);
	}

	public int insert(UserPay record) {
		return this.userPayMapper.insert(record);
	}

	public int insertSelective(UserPay record) {
		return this.userPayMapper.insertSelective(record);
	}

}
